package com.qp.basics.common.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestHeader;

@FeignClient(value = "activity-service",configuration = FeignConfiguration.class)
public interface ActivityFeignClient {
    @GetMapping("/client/activity/activityCategoryList/{page}")
    ResponseEntity<Object> queryActivityListByCategory(@RequestHeader(name="userId")String userId,@PathVariable(name = "page") int page);
}
